
public class CellPhone extends Phone {
	
	protected int planMinutes;
	
	public CellPhone(String inName, String inNumber, int inPlanMinutes)
	{
		super(inName, inNumber);
		
		planMinutes = inPlanMinutes;
	}
	
	public int getPlanMinutes() { 
		return planMinutes;
	}
	
	@Override
	public String toString() {
		String ret = super.toString();
		
		ret += " planMinutes " + planMinutes;
		
		return ret;
	}
}
